# -*- coding: utf-8 -*-
from django.conf.urls import url

from data import views

urlpatterns = [
    url('courseExpenseExport/$',
        views.TrainCourseExpenseView.as_view({ 'get': 'list',"post": "export"})),
    # 根据时间和单位，查询培训班明细
    url('trainCourse_list/$',
         views.TrainCourseListView.as_view({'post': 'list'})),
    #按照月份查询每个公司的支付数据
    url('fee_by_company/$',
        views.FeeByCompanyView.as_view()),
    #按照月份查询各个基础费用支出趋势
    url('cost_by_month/$',
        views.TrainCourseExpenseCostView.as_view({"post": "list"})),
    #按照月份查询每个公司参与培训的人数
    url('count_by_company/$',
        views.TraineeCountByCompanyView.as_view({'get': 'list'})),
    # 查询学员总人数
    url('selectTraineeCount/$',
        views.TraineeCountSelectView.as_view({'get': 'list'}))
]
